#ifndef AGREEMENTDIALOG_H
#define AGREEMENTDIALOG_H

#include <QWidget>

namespace Ui {
class AgreementDialog;
}

class AgreementDialog : public QWidget
{
    Q_OBJECT

public:
    explicit AgreementDialog(QWidget *parent = nullptr);
    ~AgreementDialog();

    void setCurrentContent(int index);

public slots:
    void onStateChanged(int state);

signals:
    void stateChanged(int state);
    void fakeClose();

private slots:
    void on_state_Cbx_stateChanged(int state);

    void on_close_Btn_released();

    void on_agreement_Btn_released();

    void on_privacy_Btn_released();

private:
    Ui::AgreementDialog *ui;
};

#endif // AGREEMENTDIALOG_H
